package com.bw.service;

import com.bw.mapper.GmallMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class GmallServiceImpl implements GmallService {
    @Autowired
    GmallMapper gmallMapper;
    @Override
    public List<Map> findCat(String time) {
        return gmallMapper.findCat(time);
    }
    @Override
    public List<Map> findAge(String time) {
        return gmallMapper.findAge(time);
    }
    @Override
    public List<Map> findPro(String time) {
        return gmallMapper.findPro(time);
    }
    @Override
    public List<Map> findTra(String time) {
        return gmallMapper.findTra(time);
    }
}
